package com.haiheng.module_main.bean.res.bookcar

import com.haiheng.library_base.http.HttpResponse

/**
 *
 * @Des:
 * @Author: hwz
 * @Date:2024/8/28 0028
 * @Version: 1.0
 */
class BookDeliveryOrderRes (var result: BookDeliveryOrderResult
): HttpResponse()

data class BookDeliveryOrderResult(
    var items: List<BookDeliveryOrderBean> = listOf(),
    var page: Int = 0,
    var pageSize: Int = 0,
    var total: Int = 0,
    var totalPages: Int = 0
)

data class BookDeliveryOrderBean(
    var administratorMessage: Any? = Any(),
    var bookDeliveryOrderStatus: Int = 0,
    var cardNumber: Any? = Any(),
    var creationTime: String = "",
    var deskBarcode: String = "",
    var deskBookDeliveryOrderId: Int = 0,
    var items: List<BookDeliveryOrderBeanItem> = listOf(),
    var machineUuid: Any? = Any(),
    var orderNumber: String = "",
    var phoneNumber: String = "",
    var pickupCode: String = "",
    var pickupDeadlineTime: Any? = Any(),
    var userMessage: Any? = Any(),
    var loaction:List<String> = listOf()//自定义
//    var administratorCancelReason: Any? = Any(),
//    var administratorNote: Any? = Any(),
//    var bibliographyId: Int = 0,
//    var callNumber: String = "",
//    var creationTime: String = "",
//    var creatorId: String = "",
//    var description: String? = "",
//    var deskBarcode: String = "",
//    var displayDeskBarcode: Any? = Any(),
//    var displayName: String? = "",
//    var isbn: String = "",
//    var libraryId: String = "",
//    var locationId: String = "",
//    var name: String = "",
//    var phoneNumber: String = "",
//    var studyDeskDeliverBookOrderId: Int = 0,
//    var studyDeskDeliverBookOrderStatus: Int = 0,
//    var studyDeskDeliverBookOrderType: Int = 0,
//    var studyDeskId: Int = 0,
//    var title: String = "",
//    var userCancelReason: Any? = Any(),
//    var userNote: Any? = Any(),
//    var loaction:List<String> = listOf()//自定义
)///// <summary>
//    /// 待处理
//    /// </summary>
//    Pending = 1,
//
//    /// <summary>
//    /// 处理中
//    /// </summary>
//    Processing,
//
//    /// <summary>
//    /// 已送达
//    /// </summary>
//    Delivered,
//
//    /// <summary>
//    /// 管理员取消
//    /// </summary>
//    CancelledByAdministrator,
//
//    /// <summary>
//    /// 用户取消
//    /// </summary>
//    CancelledByUser


data class BookDeliveryOrderBeanItem(
    var author: String = "",
    var barcode: Any? = Any(),
    var bibliographyId: Int = 0,
    var classNumber: Any? = Any(),
    var isbn: String = "",
    var publisher: String = "",
    var callNumber: String = "",
    var title: String = ""
)